<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>个人信息</title>
    <style>
        body {
            margin: 0;
            padding: 0;
            background-color: #333;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        }

        .page-title {
            background: #fff;
            color: #333;
            padding: 12px 24px;
            font-size: 14px;
            border-bottom: 1px solid #eee;
        }

        .container {
            width: 1000px;
            margin: 0 auto;
            background-color: white;
            min-height: calc(100vh - 41px);
            padding: 24px;
            box-sizing: border-box;
        }

        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
        }

        .header-left {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .logo {
            width: 24px;
            height: 24px;
        }

        .title {
            font-size: 16px;
            color: #333;
            font-weight: normal;
            margin: 0;
        }

        .edit-icon {
            width: 20px;
            height: 20px;
            cursor: pointer;
        }

        .content-wrapper {
            max-width: 800px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .avatar {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background-color: #f5f5f5;
            margin-bottom: 60px;
        }

        .info-list {
            width: 100%;
        }

        .info-item {
            display: flex;
            padding: 20px 0;
            border-bottom: 1px solid #eee;
        }

        .info-label {
            width: 100px;
            color: #333;
            font-size: 14px;
        }

        .info-content {
            flex: 1;
            color: #666;
            font-size: 14px;
        }

        .info-content input {
            width: 100%;
            padding: 5px;
            font-size: 14px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }

        .save-button {
            margin-top: 20px;
            padding: 10px 20px;
            background-color: #6366f1;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
    </style>
</head>

<body>
    <div class="page-title">
        星链在线个人中心（个人信息）
    </div>

    <div class="container">
        <div class="header">
            <div class="header-left">
                <img src="img/logo.png" alt="logo" class="logo">
                <h1 class="title">个人信息</h1>
            </div>
            <img src="img/toux.png" alt="编辑" class="edit-icon">
        </div>

        <div class="content-wrapper">
            <div class="avatar"></div>

            <div class="info-list">
                <div class="info-item">
                    <div class="info-label">用户名</div>
                    <div class="info-content"><input type="text" value="111111111"></div>
                </div>
                <div class="info-item">
                    <div class="info-label">性别</div>
                    <div class="info-content"><input type="text" value=""></div>
                </div>
                <div class="info-item">
                    <div class="info-label">职位</div>
                    <div class="info-content"><input type="text" value=""></div>
                </div>
                <div class="info-item">
                    <div class="info-label">城市</div>
                    <div class="info-content"><input type="text" value=""></div>
                </div>
                <div class="info-item">
                    <div class="info-label">个性签名</div>
                    <div class="info-content"><input type="text" value=""></div>
                </div>
            </div>

            <button class="save-button" onclick="saveChanges()">保存更改</button>
        </div>
    </div>

    <script>
        function saveChanges() {
            alert('信息已保存！');
            // 在这里添加保存逻辑，例如发送数据到服务器
        }
    </script>
</body>

</html>